package com.hyj.shop.project.user.mapper;

import com.hyj.shop.project.user.domain.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface UserInfoMapper {
    public int updateUserInfo(@Param("content") Map content,@Param("type") String type);
    //修改昵称
    public void updateArticleComment(@Param("content") Map content,@Param("type") String type);
    //修改性别
    public void updateSexy(UserInfo userInfo);
    //修改生日
    public void updateBirthday(UserInfo userInfo);

    public void updateAvatar(int userId,String path);
    public UserInfo queryUserInfo(int userId);
}
